/**
 * @Title: BaseDao
 * @Package cn.com.artemis.biz.steinsggs.dao
 * @Description: TODO
 * @author yulin.xu@downjoy.com
 * @date 2017/7/20 10:14
 * @version V1.0
 */
package cn.com.artemis.biz.steinsggs.dao;

import cn.com.artemis.biz.steinsggs.queryto.BaseQueryTO;
import com.github.pagehelper.Page;

/**
 *
 *@ClassName: BaseDao
 * @Description: TODO
 * @author yulin.xu@downjoy.com
 * @date 2017/7/20 10:14
 *
 */
public interface BaseDao<T> {

    T selectById(Integer id);

    int insert(T t);

    int update(T t);

    int delete(T t);

    Page<T> selectList(BaseQueryTO query);

}
